package com.sun.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.pojo.RuankeRank;
import com.sun.pojo.XyhRank;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Mapper
@Repository
public interface XyhMapper extends BaseMapper<XyhRank> {
    List<XyhRank> selectAll();
    Collection<XyhRank> selectXyhTop10();
    List<XyhRank> select(String name);
}
